package jdsl.notifier.model;

import java.util.Observable;

public class BillingModel extends Observable {

	private double additionalTraffic;
	private double downloadedTraffic;
	private double uploadedTraffic;
	private int personalAccountNumber;
	private String login;
	private Rate rate;
	private double money;
	private int additionalTrafficCount;

	public String getAccountLogin() {
		return login;
	}

	public void setAccountLogin(String login) {
		this.login = login;
		setChanged();
	}

	public int getPersonalAccountNumber() {
		return personalAccountNumber;
	}

	public void setPersonalAccountNumber(int number) {
		personalAccountNumber = number;
		setChanged();
	}

	public Rate getRate() {
		return rate;
	}

	public void setRate(Rate rate) {
		this.rate = rate;
		setChanged();
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double value) {
		money = value;
		setChanged();
	}

	public double getDownloadedTraffic() {
		return downloadedTraffic;
	}

	public void setDownloadedTraffic(double value) {
		this.downloadedTraffic = value;
		setChanged();
	}

	public double getUploadedTraffic() {
		return uploadedTraffic;
	}

	public void setUploadedTraffic(double uploadedTraffic) {
		this.uploadedTraffic = uploadedTraffic;
	}

	public int getAdditionalTrafficCount() {
		return additionalTrafficCount;
	}
	
	public void setAdditionalTrafficCount(int count) {
		additionalTrafficCount = count;
	}
}